<script type="text/javascript">
	function checkValues(){
      document.install_form.submit();
}
</script>

<?php
/* Install */

echo '<form method="POST" name="install_form" class="instal_form" action="install/create_db.php">
        <table>
            <tr>
                <th class="long_cell_right">'.$lang["INSTALL_HOST"].':</th>
                <td class="fill"><input class="fill" type="text" name="host" value="127.0.0.1" /></td>
            </tr>
            <tr>
                <th class="long_cell_right">'.$lang["INSTALL_USER"].':</th>
                <td class="fill"><input class="fill" type="text" name="user" value="root" /></td>
            </tr>
            <tr>
                <th class="long_cell_right">'.$lang["INSTALL_PASS"].':</th>
                <td class="fill"><input class="fill" type="text" name="pass" value="" /></td>
            </tr>
            <tr>
                <th class="long_cell_right">'.$lang["INSTALL_DB"].':</th>
                <td class="fill"><input class="fill" type="text" name="db" value="amxplugins" /></td>
            </tr>
            <tr>
                <th class="long_cell_right">'.$lang["INSTALL_TABLE_PREFIX"].':</th>
                <td class="fill"><input class="fill" type="text" name="prefix" value="SV" />
            </tr>
            <tr />
            <tr>
                <th class="long_cell_right">'.$lang["INSTALL_ADMIN"].':</th>
                <td class="fill"><input class="fill" type="text" name="admin_name" value="admin" /></td>
            </tr>
            <tr>
                <th class="long_cell_right">'.$lang["INSTALL_ADMIN_PASS"].':</th>
                <td class="fill"><input class="fill" type="text" name="admin_pass" value="admin" /></td>
            </tr>
        </table>
        <input class="btn" type="button" value="'.$lang["CONTINUE"].'" onclick="checkValues()"/>
    </form>';
?>
